Skip to content

Conversation

@benrejebmoh
Copy link
Contributor

@benrejebmoh benrejebmoh commented Feb 3, 2026

PR Summary

Enable override of 'validity' property for injections and branches (used in estim/adn-in).

estim-intregation uses both 'validity' property and 'valid' boolean from Measurement IIDM extension, to compute the ADN 4-state "valid" attribute in ptm and qtm xml nodes.
Then apply() method should do the same when a modification wants to force the validity of a P/Q TM.

…sed in estim/adn-in)

Signed-off-by: benrejebmoh <mohamed.ben-rejeb@rte-france.com>
@benrejebmoh benrejebmoh requested a review from dbraquart February 3, 2026 15:21
benrejebmoh and others added 5 commits February 3, 2026 17:22
Signed-off-by: benrejebmoh <mohamed.ben-rejeb@rte-france.com>
Signed-off-by: benrejebmoh <mohamed.ben-rejeb@rte-france.com>
Signed-off-by: David BRAQUART <david.braquart@rte-france.com>
Signed-off-by: David BRAQUART <david.braquart@rte-france.com>
Copy link
Contributor

@dbraquart dbraquart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code: 1 change required
tests: found a test case with a 2WT having no Measurement extension, where I could not create the extension after modification apply.

benrejebmoh and others added 3 commits February 11, 2026 11:18
Signed-off-by: benrejebmoh <mohamed.ben-rejeb@rte-france.com>
…erty

# Conflicts:
#	src/test/java/org/gridsuite/modification/modifications/TwoWindingsTransformerModificationTest.java
@benrejebmoh
Copy link
Contributor Author

code: 1 change required tests: found a test case with a 2WT having no Measurement extension, where I could not create the extension after modification apply.

the bug found is related to notification behaviour, and fixed in powsybl-network-store-client: powsybl/powsybl-network-store#602

benrejebmoh and others added 4 commits February 11, 2026 11:41
Signed-off-by: benrejebmoh <mohamed.ben-rejeb@rte-france.com>
Signed-off-by: David BRAQUART <david.braquart@rte-france.com>
Signed-off-by: David BRAQUART <david.braquart@rte-france.com>
Signed-off-by: David BRAQUART <david.braquart@rte-france.com>
@sonarqubecloud
Copy link

@dbraquart dbraquart self-requested a review February 11, 2026 14:12
@benrejebmoh benrejebmoh merged commit 4e90cf6 into main Feb 11, 2026
3 checks passed
@benrejebmoh benrejebmoh deleted the fix-set-validity-property branch February 11, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants